package com.lyf.shop.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyf.common.core.annotation.Excel;
import com.lyf.common.core.web.domain.BaseEntity;
/**
 * @Author: lyf
 * @CreateTime: 2023-03-05
 * @description:
 */
public class RegionDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 超市id */
    @Excel(name = "超市id")
    private Long supermarketId;

    /** 超市id */
    @Excel(name = "超市名称")
    private String supermarketName;
    /** 分类状态（0正常 1停用） */
    @Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属区域名称 */
    @Excel(name = "所属区域名称")
    private String name;

    /** 区域负责人id */
    @Excel(name = "区域负责人id")
    private Long employeeId;


    @Excel(name = "负责人")
    private String employeeName;




    @Excel(name = "联系电话")
    private String phone;
    /** 逻辑删除状态（0：未删除 1：已删除) */
    private String delFlag;


    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSupermarketId(Long supermarketId)
    {
        this.supermarketId = supermarketId;
    }

    public Long getSupermarketId()
    {
        return supermarketId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }

    public String getSupermarketName() {
        return supermarketName;
    }

    public void setSupermarketName(String supermarketName) {
        this.supermarketName = supermarketName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("supermarketId", getSupermarketId())
                .append("status", getStatus())
                .append("name", getName())
                .append("employeeId", getEmployeeId())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remarks", getRemarks())
                .append("supermarketName",getSupermarketName())
                .append("employeeName",getEmployeeName())
                .append("phone",getPhone())


                .toString();
    }
}

